package com.csg.ioms.service;

import com.csg.ioms.fallback.SchedulerServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <p></p>
 *
 * @author George Chan
 * @version 1.0
 * @date 2020/3/26 13:11
 * @since JDK 1.8
 */
@FeignClient(name = "ioms-scheduler",fallbackFactory = SchedulerServiceFallbackFactory.class)
public interface SchedulerService {
    @RequestMapping(value = "/api/remote/remote", method = RequestMethod.GET)
    Object remote();
}
